#ifndef MOTOR_CONTROLLER_H
#define MOTOR_CONTROLLER_H 1

#include "i2cdevice.h"
#include "linux/types.h"

class MotorController : public I2CDevice
{
  public:
    MotorController(int file);
    void setVoltage(const int &id, const double &v);

  private:
    double m_voltage;
    __u8 m_led_on_l[4];
    __u8 m_led_on_h[4];
    __u8 m_led_off_l[4];
    __u8 m_led_off_h[4];
};


#endif
